<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <home-header></home-header>
      </el-header>
      <el-container>
        <el-aside width="250px">
          <aside-menu></aside-menu>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import AsideMenu from '@/components/home/AsideMenu.vue'
import HomeHeader from '@/components/home/HomeHeader.vue'
import { RouterView } from 'vue-router'
</script>

<style lang="scss" scoped>
.common-layout {
  height: 100%;
  .el-container {
    .el-header {
      height: 60px;
      margin: 0;
      padding: 0;
    }

    .el-aside {
      background-color: rgb(219 234 254);
      height: 100%;
      width: 250px;
    }
  }
}
.el-container {
  height: 100%;
  .el-main {
    display: flex;
    justify-content: center;
  }
}
</style>
